package com.sunkyc.framework.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sunkyc.framework.system.entity.SysRole;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 角色信息表 Mapper 接口
 * </p>
 *
 * @author sunkyc
 * @since 2022-05-31
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {

    @Select("select `role_id`, `role_name` from sys_role where role_id <> 0")
    List<SysRole> queryAll();



}
